Leadtools.CF Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.6.15
UserFilterCommand Constructor(Int32,Int32,Point,Int32,Int32,UserFilterCommandType,Int32[])
See Also 
Leadtools.ImageProcessing Namespace > UserFilterCommand Class > UserFilterCommand Constructor : UserFilterCommand Constructor(Int32,Int32,Point,Int32,Int32,UserFilterCommandType,Int32[])



filterWidth
Number of columns in the user-defined array (mask). This parameter only accepts positive values.
filterHeight
Number of rows in the user-defined array (mask). This parameter only accepts positive values.
centerPoint
Any two-dimensional position of the matrix array, to be used as the matrix (mask)center.
divisor
Value used to divide the final result of the output. This must be a non-zero value. If you want to use floating point values for the matrix elements and the divisor, multiply the matrix elements and the divisor with the same value (for example, 10, 100, 1000). This parameter only accepts positive values.
offset
Value used to offset the final result of the output.
type
Flag that indicates the type of operation.
matrix
Array of (filterWidth * filterHeight) integers containing the user-defined matrix (mask). The elements are stored in row order (first row, second row, etc).
Initializes a new UserFilterCommand with explicit parameters.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal filterWidth As Integer, _
   ByVal filterHeight As Integer, _
   ByVal centerPoint As Point, _
   ByVal divisor As Integer, _
   ByVal offset As Integer, _
   ByVal type As UserFilterCommandType, _
   ByVal matrix() As Integer _
)
Visual Basic (Usage)Copy Code
Dim filterWidth As Integer
Dim filterHeight As Integer
Dim centerPoint As Point
Dim divisor As Integer
Dim offset As Integer
Dim type As UserFilterCommandType
Dim matrix() As Integer
 
Dim instance As UserFilterCommand(filterWidth, filterHeight, centerPoint, divisor, offset, type, matrix)
C# 
public UserFilterCommand( 
   int filterWidth,
   int filterHeight,
   Point centerPoint,
   int divisor,
   int offset,
   UserFilterCommandType type,
   int[] matrix
)
C++/CLI 
public:
UserFilterCommand( 
   int filterWidth,
   int filterHeight,
   Point centerPoint,
   int divisor,
   int offset,
   UserFilterCommandType type,
   array<int>^ matrix
)

Parameters

filterWidth
Number of columns in the user-defined array (mask). This parameter only accepts positive values.
filterHeight
Number of rows in the user-defined array (mask). This parameter only accepts positive values.
centerPoint
Any two-dimensional position of the matrix array, to be used as the matrix (mask)center.
divisor
Value used to divide the final result of the output. This must be a non-zero value. If you want to use floating point values for the matrix elements and the divisor, multiply the matrix elements and the divisor with the same value (for example, 10, 100, 1000). This parameter only accepts positive values.
offset
Value used to offset the final result of the output.
type
Flag that indicates the type of operation.
matrix
Array of (filterWidth * filterHeight) integers containing the user-defined matrix (mask). The elements are stored in row order (first row, second row, etc).

Example

For an example, refer to UserFilterCommand.

Requirements

Target Platforms: Microsoft .NET CF Framework 2.0, Windows Mobile 5 PocketPC, Windows Mobile 5 Smartphone, Windows Mobile 6

See Also